package 实验二;

public class Student0 {
    int id;
    String name;
    String sex;
	String xuanke;
    String tuike;
    String lesson;
    Student0(int a, String b, String c,String e,String x,String d) {
       id=a;
       name=b;
       sex=c;
       lesson=e;
       xuanke=x;
       tuike=d;
    }

    public String toString() {
        return "编号：" + id + " 姓名：" + name + " 性别："+sex +" 课程："+lesson;
    }

    void xuanke() {
        if(xuanke=="已选课");
        {
            System.out.println("这个学生已选课");
        }
    }

    void delete() {
        if (tuike=="退课") ;
        {
            System.out.println("学生退课");
        }
    }
}